package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sk.bilibili.bean.interfaces.FollowAble;
import com.sk.bilibili.other.ExtraMap;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
import java.util.Date;
/**
* @author 邵康
* @date 2021/11/23 16:11
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Them implements FollowAble {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer videoSetId;
    private Boolean finish;
    private String smallCover;
    @TableField(exist = false)
    private MultipartFile smallCoverFile;
    private String verticalCover;
    @TableField(exist = false)
    private MultipartFile verticalCoverFile;
    private Float score;
    @ApiModelProperty("方便有新点评计算分数")
    private Integer reviewNum;
    private Integer updateDay;//没有typeId
    private Integer followNum;
    @TableField(el = "dub,typeHandler=com.sk.bilibili.typeHandler.StringArrayTypeHandler")
    private String[] dub;
    @TableField(el = "staff,typeHandler=com.sk.bilibili.typeHandler.StringArrayTypeHandler")
    private String[] staff;
    @TableField(exist = false)
    private ExtraMap extra=new ExtraMap();

}
